import request from '@/utils/request'

export function batchInsert(data) {
    return request({
        url: '/api/server/sysPermission/batchInsert',
        method: 'post',
        data: data
    })
}


export function queryListByUserId(data) {
    return request({
        url: '/api/server/sysPermission/queryListByUserId',
        method: 'post',
        data: data
    })
}


export function queryByPage(data) {
    return request({
        url: '/api/server/sysPermission/queryByPage',
        method: 'post',
        data: data
    })
}
